package com.atguigu.lease.common.exception;

import lombok.Data;

@Data
public class leaseException extends RuntimeException{

    private Integer code;
    private String massage;

    public leaseException(Integer code,String massage){
        this.code = code;
        this.massage = massage;
    }

    public leaseException(){
        this.code = code;
        this.massage = massage;
    }


}
